(function (window, $, undefined) {
  'use strict';

  main(function () {

    var $tableDrivDuration = $('#table-drivDuration');
    util.jqGrid($tableDrivDuration, {
      url: '/json/test.json',
      datatype: 'json',
      autowidth: true,
      height: $(window).height() - 360,
      multiselect: true,
      multiboxonly: true,
      // shrinkToFit: false,
      colModel: [
        { name: '_id', key: true, hidden: true },
        { label: '姓名', name: '', width: 100 },
        { label: '电话', name: '', width: 150 },
        { label: '绑定车型', name: '', width: 150 },
        { label: '车牌', name: '', width: 150 },
        { label: '城市', name: '', width: 50 },
        { label: '在线时长（分钟）', name: '', width: 100 },
        { label: '开始时间', name: '', width: 150 },
        { label: '结束时间', name: '', width: 150 }
      ],
      pager: '#pager-drivDuration'
    });


  });


})(window, jQuery);
